﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using nanoCMS.StaticPages.Concrete;
using nanoCMS.StaticPages.WebUI.Models.ViewModels;

namespace nanoCMS.StaticPages.WebUI.Models
{
    public class VMFactory
    {
        public static StaticPageVM ŞtaticPageVMFactory(StaticPage page)
        {
            return new StaticPageVM
            {
                PageID = page.PageID,
                Title = page.Title,
                Content = page.Content
            };
        }
    }
}
